package com.mz361.component.payment.service;

import com.mz361.modules.system.domain.PayOrder;

import java.util.Map;

public interface PayMentService {

    /**
     * @ param orderId
     * @ param amunta
     * @ param productName
     * @ param payType     0：微信支付  1：支付宝支付
     * @ return
     */
    String getPayOrderCodeUrl(String orderId, Integer amunta, String productName, Integer payType);

    /**
     * 订单退款
     *
     * @ param payOrder
     */
    void refundOrder(PayOrder payOrder);

    /**
     * 支付宝回调验证签名
     *
     * @ param params
     * @ return
     */
    boolean verifyNotify(Map<String, String> params) throws Exception;

}
